<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>User Info</title>
</head>
<body>
<div>用户信息<a th:href="@{/user/userForm}">重新填写</a></div>
<div th:each="user:${user}">
    <div>ID：<span th:text="${user.id}">用户名称</span></div>
    <div>用户名：<span th:text="${user.username}">用户名称</span></div>
    <div>年龄：<span th:text="${user.age}">年龄</span></div>
</div>
</body>
</html>